package router

import (
	"github.com/gin-gonic/gin"
	"kuangstudy-mall/apis/user-web/api"
	middlewares "kuangstudy-mall/apis/user-web/middleawares"
)

func InitUserSMSRouter(RouterGroup *gin.RouterGroup) {
	smsRouter := RouterGroup.Group("/sms")
	{
		smsRouter.GET("/list", middlewares.JWTAuth(), (&api.UserApi{}).FindUserList)
		smsRouter.GET("/info/mobile", middlewares.JWTAuth(), (&api.UserApi{}).GetUserInfoByMobile)
	}
}
